package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatMessVO;

import java.util.ArrayList;
import java.util.List;

public class SatMessDubboServiceMock implements SatMessDubboService {
    @Override
    public SatMessVO getById(String id) throws Exception {
        return null;
    }

    @Override
    public void saveOrUpdate(SatMessVO satMessVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<SatMessVO> findPageByVO(SatMessVO satMessVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) throws Exception {
        PageInfo<SatMessVO> pageInfo = new PageInfo<SatMessVO>();
        List list = new ArrayList();
        SatMessVO vo = new SatMessVO();
        vo.setInfo("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public void removeByListVo(List<SatMessVO> satMessVOList) throws Exception {

    }

    @Override
    public List listByVo(SatMessVO satMessVO) {
        List list = new ArrayList();
        SatMessVO vo = new SatMessVO();
        vo.setInfo("暂无数据");
        list.add(vo);
        return list;
    }
}
